EDD\Vendor\Carbon\CarbonInterval D

Total Complexity 452
Dependencies 25
Dependents 8
Total lines 2,866
Lines of code 1,404
Logical lines of code 857
Comment lines 845
Methods 104
Properties 7

Methods 104

Method Rating Maintainability Complexity Lines of code
forHumans()
D
23
55 155
fromString()
D
27
52 120
__construct()
C
32 30 98
total()
B
38 17 67
set()
B
39 17 66
get()
B
46 17 36
getForHumansParameters()
A
40 15 60
doCascade()
A
42 12 52
getDateIntervalSpec()
A
46 12 36
createFromFormat()
A
45 8 40
solveNegativeInterval()
A
59 9 13
add()
A
50 8 26
handleDecimalPart()
A
49 7 31
isEmpty()
S
64 8 10
__call()
S
52 6 24
getValuesSequence()
S
54 6 23
makeFromString()
S
58 6 15
checkIntegerValue()
S
55 5 20
castIntervalToClass()
S
57 5 16
make()
S
59 5 15
__callStatic()
S
56 4 19
getForHumansInitialVariables()
S
58 4 18
multiply()
S
58 4 16
assertSafeForInteger()
S
70 5 5
getRoundingMethodFromOptions()
S
63 4 12
roundUnit()
S
53 3 22
callMacro()
S
65 4 8
between()
S
72 4 5
toPeriod()
S
65 4 9
times()
S
59 3 14
getFactor()
S
60 3 13
compareDateIntervals()
S
62 3 12
getFactorWithDefault()
S
56 2 17
invert()
S
74 3 4
getFlipCascadeFactors()
S
64 3 9
hasNegativeValues()
S
67 3 8
instance()
S
70 3 6
hasPositiveValues()
S
68 3 8
copyNegativeUnits()
S
65 3 8
__toString()
S
64 3 10
copyProperties()
S
61 2 13
standardizeUnit()
S
73 2 4
getCascadeFactors()
S
79 2 3
sub()
S
70 2 6
getSecondsPerMinute()
S
78 2 3
equalTo()
S
74 2 4
greaterThan()
S
75 2 4
greaterThanOrEqualTo()
S
79 2 3
lessThan()
S
74 2 4
lessThanOrEqualTo()
S
79 2 3
needsDeclension()
S
67 2 8
getMinutesPerHour()
S
78 2 3
parseFromLocale()
S
77 2 3
getMillisecondsPerSecond()
S
78 2 3
getMicrosecondsPerMillisecond()
S
78 2 3
getDaysPerWeek()
S
78 2 3
resolveInterval()
S
71 2 6
this()
S
79 2 3
getHoursPerDay()
S
78 2 3
createFromDateString()
S
63 2 10
toArray()
S
62 1 12
getDefaultCascadeFactors()
S
61 1 12
lte()
S
80 1 3
gt()
S
80 1 3
gte()
S
80 1 3
lt()
S
80 1 3
__set_state()
S
75 1 4
shiftTimezone()
S
77 1 4
clone()
S
81 1 3
copy()
S
71 1 6
notEqualTo()
S
80 1 3
betweenExcluded()
S
79 1 3
isBetween()
S
79 1 3
floorUnit()
S
79 1 3
ceilUnit()
S
79 1 3
round()
S
79 1 3
floor()
S
79 1 3
ceil()
S
79 1 3
create()
S
77 1 3
betweenIncluded()
S
79 1 3
eq()
S
80 1 3
ne()
S
80 1 3
shares()
S
79 1 3
toDateInterval()
S
79 1 3
enableFloatSetters()
S
80 1 3
setCascadeFactors()
S
76 1 4
hasMacro()
S
79 1 3
mixin()
S
80 1 3
subtract()
S
79 1 3
plus()
S
69 1 6
minus()
S
69 1 6
macro()
S
79 1 3
weeksAndDays()
S
75 1 4
getNonZeroValues()
S
79 1 3
__set()
S
80 1 3
divide()
S
79 1 3
__get()
S
80 1 3
spec()
S
79 1 3
compare()
S
79 1 3
invertCascade()
S
73 1 5
cascade()
S
80 1 3
cast()
S
79 1 3
copyStep()
S
80 1 3
setTimezone()
S
77 1 4